//
//  JXHistoryItemTableCell.h
//

#import "JXItemModel.h"
#import <UIKit/UIKit.h>

@protocol JXHistoryItemTableCellDelegate<NSObject>

- (void)sendItemInfo:(JXItemModel *)item;

@end

@interface JXHistoryItemTableCell : UITableViewCell

@property(nonatomic, strong) UIImageView *itemImageView;
@property(nonatomic, strong) UILabel *nameLabel;
@property(nonatomic, strong) UILabel *infoLabel;
@property(nonatomic, strong) UIButton *sendBtn;

@property(nonatomic, strong) JXItemModel *item;
@property(nonatomic, assign) id<JXHistoryItemTableCellDelegate> delegate;

- (id)initWithStyle:(UITableViewCellStyle)style
    reuseIdentifier:(NSString *)reuseIdentifier
              model:(JXItemModel *)model
           delegate:(id<JXHistoryItemTableCellDelegate>)delegate;

@end
